package com.yeyks.consumer.param.UserMemberCard;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserMemberCardRechargeOrderParam {

    @ApiModelProperty(hidden = true)
    private Integer userId;
    private Integer cardType = 1;
    @NotNull(message = "付款金额不能为空")
    @Min(value = 1,message = "付款金额不能小于1")
    private Integer payAmount;

}
